import request from '@/utils/request'
import defaultSettings from '@/settings'
export function list(query) {
  return request({
    url: defaultSettings.serviceUrl.moon_fast + '/sys/sysTenant/list',
    method: 'post',
    data: query
  })
}

export function editSave(data) {
  return request({
    url: defaultSettings.serviceUrl.moon_fast + '/sys/sysTenant/editSave',
    method: 'post',
    data: data
  })
}
export function removeByIds(id) {
  return request({
    url: defaultSettings.serviceUrl.moon_fast + '/sys/sysTenant/removeByIds?ids=' + id,
    method: 'get'
  })
}

